Numeric LED

The numeric LED can be used to display up to 4 numbers.

Use it to keep score, show the time and much more!


Quick Reference

Wiring

Use a special cable (7-seg) to connect the sensor. This has 34 wires, white, yellow, red and black:

7 seg cable

Wire up as follows, using the Edge Connector or Motor Controller board:

Numeric Display Edge Connector Motor Controller
Red 3V3 V
Black GND G
Yellow SCL C
Orange SDA D

On the edge connector it should look like this:

Wiring edge

On the motor controller it should look like this:

Wiring motor

Coding

Enter this code in on start and forever blocks:

Code1

Download the code to the microbit.

The code creates a simple counter, displaying the number of seconds that have elapsed since the start:

Counter